package com.zmh.wuye.entity;

public class Contract extends Owner {
    private int cid;
    private String contractnum;
    private String content;
    private String contracttime;
    private String jzq;
    private String expire;
    private String time;
    private String state;
    private String money;
    private int mid;
    int oid;
    int tid;
    Tower tower;
    Owner owner;
    private Month month;

    @Override
    public String toString() {
        return "Contract{" +
                "cid=" + cid +
                ", contractnum='" + contractnum + '\'' +
                ", content='" + content + '\'' +
                ", contracttime='" + contracttime + '\'' +
                ", jzq='" + jzq + '\'' +
                ", expire='" + expire + '\'' +
                ", time='" + time + '\'' +
                ", state='" + state + '\'' +
                ", money='" + money + '\'' +
                ", mid=" + mid +
                ", oid=" + oid +
                ", tid=" + tid +
                ", tower=" + tower +
                ", owner=" + owner +
                ", month=" + month +
                '}';
    }

    public Contract() {
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getContractnum() {
        return contractnum;
    }

    public void setContractnum(String contractnum) {
        this.contractnum = contractnum;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContracttime() {
        return contracttime;
    }

    public void setContracttime(String contracttime) {
        this.contracttime = contracttime;
    }

    public String getJzq() {
        return jzq;
    }

    public void setJzq(String jzq) {
        this.jzq = jzq;
    }

    public String getExpire() {
        return expire;
    }

    public void setExpire(String expire) {
        this.expire = expire;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public int getOid() {
        return oid;
    }

    public void setOid(int oid) {
        this.oid = oid;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public Tower getTower() {
        return tower;
    }

    public void setTower(Tower tower) {
        this.tower = tower;
    }

    public Owner getOwner() {
        return owner;
    }

    public void setOwner(Owner owner) {
        this.owner = owner;
    }

    public Month getMonth() {
        return month;
    }

    public void setMonth(Month month) {
        this.month = month;
    }

    public Contract(int cid, String contractnum, String content, String contracttime, String jzq, String expire, String time, String state, String money, int mid, int oid, int tid, Tower tower, Owner owner, Month month) {
        this.cid = cid;
        this.contractnum = contractnum;
        this.content = content;
        this.contracttime = contracttime;
        this.jzq = jzq;
        this.expire = expire;
        this.time = time;
        this.state = state;
        this.money = money;
        this.mid = mid;
        this.oid = oid;
        this.tid = tid;
        this.tower = tower;
        this.owner = owner;
        this.month = month;
    }
}
